package com.zone.service.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zone.common.core.annotation.Excel;
import com.zone.common.core.web.domain.BaseEntity;

/**
 * 款箱类型对象 zone_box_type
 * 
 * @author liuyang
 * @date 2025-10-31
 */
public class BoxType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID，自增 */
    private Long id;

    /** 类型名称 */
    @Excel(name = "类型名称")
    private String typeName;

    /** 首字母 */
    @Excel(name = "首字母")
    private String typeFirstChar;

    /** 最大容量（万） */
    @Excel(name = "最大容量", readConverterExp = "万=")
    private Long maxCapability;

    /** 是否为黑袋 */
    @Excel(name = "是否为黑袋", readConverterExp = "N=否,Y=是")
    private String isOtherBox;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setTypeName(String typeName) 
    {
        this.typeName = typeName;
    }

    public String getTypeName() 
    {
        return typeName;
    }

    public void setTypeFirstChar(String typeFirstChar) 
    {
        this.typeFirstChar = typeFirstChar;
    }

    public String getTypeFirstChar() 
    {
        return typeFirstChar;
    }

    public void setMaxCapability(Long maxCapability) 
    {
        this.maxCapability = maxCapability;
    }

    public Long getMaxCapability() 
    {
        return maxCapability;
    }

    public void setIsOtherBox(String isOtherBox)
    {
        this.isOtherBox = isOtherBox;
    }

    public String getIsOtherBox()
    {
        return isOtherBox;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("typeName", getTypeName())
            .append("typeFirstChar", getTypeFirstChar())
            .append("maxCapability", getMaxCapability())
            .append("isOtherBox", getIsOtherBox())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
